<!DOCTYPE html>
<html>
	<?php echo $head; ?>
	<body>
		<div data-role="dialog">
	
			<div data-role="header" data-theme="b">
				<h1>Administrator</h1>	
			</div>
	
			<div data-role="content" data-theme="b">
				<?php echo form_open('admin/login'); ?>
					<div style="padding:10px 20px;">
						<h3>Please sign in</h3>
						<label for="un" class="ui-hidden-accessible">Username:</label>
						<input type="text" name="user" id="un" value="" placeholder="username" data-theme="a" />
						
						<label for="pw" class="ui-hidden-accessible">Password:</label>
						<input type="password" name="pass" id="pw" value="" placeholder="password" data-theme="a" />
						
						<?php echo $error; ?>
						
						<button type="submit" data-theme="a">Sign in</button>
					</div>
				</form>	
			</div>
		</div>

		<script>
			//App custom javascript
		</script>
	</body>
</html>
